﻿namespace KaroEngine.Exceptions
{
    public class LockedTileException : InvalidMoveException
    {
        public LockedTileException()
                : base("Locked tile")
        {
        }

        public LockedTileException(Move move)
                : base("Locked tile when moving from " + move.PositionFrom + " to " + move.PositionTo + " using tile " + move.TilePositionToMove, move)
        {
        }
    }
}